<%@ page language="java" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags"%>
<script language="javascript" src="<%=request.getContextPath()%>/js/indexcategory.js" type="text/javascript"></script>
<div id="indexcategory">
	<s:iterator value="topCategories">
		<s:set name="superCategory" value="top" />
		<div class="countMenu">
			<p class="title">
				<a href="#" cateid="<s:property value="#superCategory.id" />"><s:property value="#superCategory.name" /> </a>
			</p>
			<ul class="listitem">
				<s:iterator value="children" status="status">
					<s:set name="category" value="top" />
					<li id="level_<s:property value="#menu_index"/>">
						<a href="#" cateid="<s:property value="#category.id" />"> <s:property value="#category.name" />(<s:property value="#category.getRegionCount(currentRegion.id)" />)</a>
					</li>
				</s:iterator>
			</ul>
		</div>
	</s:iterator>
</div>